<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>Title</title>
</head>
<body>
<div th:if="${error}">
    <h1>错误信息</h1>
    <span th:text="${error}"></span>
</div>
<form action="/login" method="post">

    <input type="text" name="username" value="admin"/><br/>
    <input type="text" name="password" value="123456"/><br/>
    <input type="checkbox" name="rememberme" value="true"/>记住我<br/>
    <button type="submit">登录</button>
    <a type="button" href="logout">登出</a>

    <br/>
</form>
</body>
</html>